GtkBuilder: Added api to allow private signal callbacks
authorTristan Van Berkom <tristanvb@openismus.com>
Wed, 20 Mar 2013 03:48:38 +0000 (12:48 +0900)
committerTristan Van Berkom <tristanvb@openismus.com>
Mon, 8 Apr 2013 12:19:27 +0000 (21:19 +0900)
commit82583640a275c7d95c185e4ad9eaa95bc37aba1f
treee27fac2c802c21c691808e5afb557b2e629bdd85
parent4ec6d6006e36f3f51074750534a8ab20b51abb5b
GtkBuilder: Added api to allow private signal callbacks

In preperation for composite objects, for better encapsulation
the following APIs are added to allow handling of signals declared
in the XML with callbacks declared statically.

  o gtk_builder_add_callback_symbol[s]()

    Adds a symbol to the internal symbol hash

  o gtk_builder_lookup_symbol()

    Looks up a symbol, exposed in case added symbols are used
    in conjunction with gtk_builder_connect_signals_full()

The default implementation of gtk_builder_connect_signals() now
does not have a strong requirement on GModule (or a strong requirement
on symbols being declared in the global namespace). Instead GModule
is used as a fallback in the case that symbols are not declared
explicitly.
docs/reference/gtk/gtk3-sections.txt
gtk/gtk.symbols
gtk/gtkbuilder.c
gtk/gtkbuilder.h